package com.tang.sys.service;

import com.tang.dto.talkDto;
import com.tang.sys.ResponseResult;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tang.sys.entity.Talk;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author shankaka
 * @since 2023-05-02
 */
public interface ITalkService extends IService<Talk> {

    ResponseResult talkList(Integer pageNum, Integer pageSize, Talk talk);

    ResponseResult getAllList(Integer pageNum, Integer pageSize, talkDto talkdto);

    ResponseResult addTalk(Talk talk);

    ResponseResult deleteTalk(Long id);

    ResponseResult getTalkinfo(Long id);

    ResponseResult updateTalk(Talk talks);
}
